package cn.codeinn.service1.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.codeinn.common.util.RS;
import cn.codeinn.service1.service.AuthService;

@RestController
@RequestMapping(value = "/auth")
public class AuthController {

	@Autowired
	private AuthService authService;

	@GetMapping(value = "/test")
	public RS testAuth() {
		authService.testAuth();
		return RS.ok();
	}
}
